sdx_syslog_template
Configuration for NetScaler Syslog Configure Task resource.
Read/write properties
scheduleTimesEpoch<String>
Schedule time epoch (string representation of 11 digit numbers)..
device_groups<String[]>
Device Group Array on which for which template is applied.
scheduleOptions<String>
Comma separated Options for scheduling Configuration Template.
name<String>
Name of Syslog Server.
Minimum length = 1
Maximum length = 128
ip_address<String>
Syslog server IP address.
Minimum length = 1
Maximum length = 64
execute_sequentially<Boolean>
True if configuration template is to be applied to devices sequentially.
scheduleType<String>
Schedule Type of Configuration Template that is scheduled.
scheduleTimes<String>
Comma separated times of the day(HH:MM) on which Configuration Template is scheduled.
devices<String[]>
Device IP Address Array on which template is applied.
port<Integer>
Syslog server port.
Maximum value =
tz_offset<Integer>
Time zone offset..
variables<variable_values[]>
Values of Variables used in commands of the configuration template.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/sdx_syslog_template
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/sdx_syslog_template?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of sdx_syslog_template resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/sdx_syslog_template?pagesize=#no&pageno=#no
Use this query-parameter to get the sdx_syslog_template resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/sdx_syslog_template?count=yes
Use this query-parameter to get the count of sdx_syslog_template resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "sdx_syslog_template":[{
"scheduleTimesEpoch":<String_value>,
"device_groups":<String_value>,
"scheduleOptions":<String_value>,
"name":<String_value>,
"ip_address":<String_value>,
"execute_sequentially":<Boolean_value>,
"scheduleType":<String_value>,
"scheduleTimes":<String_value>,
"devices":<String_value>,
"port":<Integer_value>,
"tz_offset":<Integer_value>,
"on_error":<String_value>,
"variables":[{
"valuex":<String_value>,
"name":<String_value>,
"value":<String_value>,
"display_name":<String_value>,
"parent_id":<String_value>,
"device_values":[{
"parent_id":<String_value>,
"parent_name":<String_value>,
"value":<String_value>,
"device":<String_value>,
"device_group":<String_value>,
"id":<String_value>,
"valuex":<String_value>}],
"id":<String_value>,
"default_value":<String_value>,
"values_enum_db":<String_value>,
"device_values_mapping":<String_value>,
"type":<String_value>,
"description":<String_value>,
"parent_name":<String_value>}]}]}